/**
 * created by yangtong on 2025/6/14 下午5:14
 */
export default interface InputEmits {

    /**
     * v-model绑定的双向数据更新
     */
    (e: 'update:modelValue', value: string | number | null | undefined): void,

    /**
     * 用户输入时触发
     */
    (e: 'input', value: string, event: Event): void

    /**
     * 获得焦点时
     */
    (e: 'focus', event: FocusEvent): void

    /**
     * 失去焦点时
     */
    (e: 'blur', event: FocusEvent): void

    /**
     * 键盘按下
     */
    (e: 'keydown', event: KeyboardEvent): void

    /**
     * 键盘弹起
     */
    (e: 'keyup', event: KeyboardEvent): void
}